6DB9C3763D02B1415CD9D565 /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0500;
+ LastUpgradeCheck = 0610;
};
buildConfigurationList = DAC4C1AA5EDEA1C85E9CA5E6 /* Build configuration list for PBXProject "GPSBabel" */;
compatibilityVersion = "Xcode 3.2";
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DYLIB_COMPATIBILITY_VERSION = 1.0;
DYLIB_CURRENT_VERSION = 1.0.0;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
/Users/robertlipe/Qt5.2.1/5.2.1/clang_64/lib,
/Users/robertlipe/Qt5.2.1/5.2.1/clang_64/lib,
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
DYLIB_COMPATIBILITY_VERSION = 1.0;
DYLIB_CURRENT_VERSION = 1.0.0;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
FRAMEWORK_SEARCH_PATHS = (
/Users/robertlipe/Qt5.2.1/5.2.1/clang_64/lib,
/Users/robertlipe/Qt5.2.1/5.2.1/clang_64/lib,
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0500"
+ LastUpgradeVersion = "0610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
*/
-#include <stdio.h>
-#include <time.h>
#include "defs.h"
-
#define MYNAME "alan"
#define MAXWPT 1000 /* old 500 */
*/
-#include <stddef.h>
-#include <stdio.h>
-#include <string.h>
-#include <limits.h>
+#include "defs.h"
#define MYNAME "an1"
-#include "defs.h"
static gbfile* infile;
static gbfile* outfile;
*/
-#include <math.h>
#include "defs.h"
#include "filterdefs.h"
#include "grtcirc.h"
+#include <math.h>
+
#if FILTERS_ENABLED
#define MYNAME "Arc filter"
#include "defs.h"
#include "csv_util.h"
#include "garmin_tables.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <math.h>
#include "cet_util.h"
#include "inifile.h"
+#include <math.h>
#define MYNAME "bcr"
#include "defs.h"
#include "filterdefs.h"
-
#include "grtcirc.h"
-#include <ctype.h>
+#include <cmath>
#define MYNAME "bend"
double heading_diff = heading_next - heading_prev;
- return ((abs(heading_diff - 0.0) < minAngle)
- || (abs(heading_diff - 180.0) < minAngle)
- || (abs(heading_diff - 360.0) < minAngle));
+ return ((std::abs(heading_diff - 0.0) < minAngle)
+ || (std::abs(heading_diff - 180.0) < minAngle)
+ || (std::abs(heading_diff - 360.0) < minAngle));
}
static void
#include "defs.h"
#include "gbser.h"
-#include <errno.h>
static void* serial_handle;
#include "defs.h"
#include "cet.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
/* ! ALL vec PARAMETERS HAVE TO BE A VALID POINTER TO A cet_cs_vec_t RECORD ! */
/* =========================================================================== */
#ifndef CET_H
#define CET_H
-#include <ctype.h>
-#include <stdio.h>
-
#define CET_ERROR 1
#define CET_SUCCESS 0
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdarg.h>
-
#include "defs.h"
#include "cet.h"
#include "cet_util.h"
#ifndef CET_UTIL_H
#define CET_UTIL_H
-#include <ctype.h>
-#include <stdio.h>
#if HAVE_CONFIG_H
#include "config.h"
#endif
#include "csv_util.h"
#if CSVFMTS_ENABLED
-#include <ctype.h>
#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
#include "jeeps/gpsmath.h"
#define MYNAME "CompeGPS"
#include "defs.h"
#include "strptime.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#define MYNAME "cst"
*/
-#include <ctype.h>
-#include <math.h>
-#include <stdlib.h>
#include <QtCore/QRegExp>
#include "defs.h"
#include "src/core/logging.h"
#include "strptime.h"
+#include <math.h>
+
#define MYNAME "CSV_UTIL"
/* macros */
#include "session.h"
#include <QtCore/QString>
-#include <QtCore/QDebug>
-#include <QtCore/QTextCodec>
-#include <QtCore/QTextStream>
# include "src/core/datetime.h"
extern time_t gpsbabel_now; /* gpsbabel startup-time; initialized in main.c with time() */
extern time_t gpsbabel_time; /* gpsbabel startup-time; initialized in main.c with current_time(), ! ZERO within testo ! */
extern int geocaches_present;
+class QTextStream;
extern QTextStream cerr;
#define MILLI_TO_MICRO(t) (t * 1000) /* Milliseconds to Microseconds */
*/
-#include <ctype.h>
-#include <time.h>
-
#include "defs.h"
#define MYNAME "GPL"
*/
-#include <ctype.h>
-#include <math.h>
-#include <time.h>
-
#include "defs.h"
#include "cet.h"
#include "cet_util.h"
#include "garmin_fs.h"
#include "strptime.h"
+#include <cmath>
#define MYNAME "destinator"
#define DST_DYN_POI "Dynamic POI"
#include "jeeps/gpsmath.h"
#include "xmlgeneric.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-
#define MYNAME "dmtlog"
#define DEFLATE_BUFF_SIZE 16384
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <stdio.h>
#include "defs.h"
#include "filterdefs.h"
#include "defs.h"
-#include <ctype.h>
static gbfile* file_in;
static gbfile* file_out;
*/
#include "defs.h"
-#include <ctype.h>
+#include <QtCore/QDebug>
#include <limits.h>
#define MYNAME "energympro"
*/
-#include <math.h>
-
#include "defs.h"
+#include <math.h>
#define MYNAME "Enigma binary route and waypoint file format"
* 1998, version 2.1: http://www.exif.org/Exif2-1.PDF
*/
-#include <ctype.h>
-#include <math.h>
-#include <stdlib.h>
-#include <string.h>
-
#include "defs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
+#include <math.h>
+
#define MYNAME "exif"
// #define EXIF_DBG
#include "defs.h"
#include "filterdefs.h"
-#include <ctype.h>
#define MYNAME "filter_skeleton"
1) Copy this file to <your_format_name>.c
2) Rename all format_skeleton tokens to <your_format_name>.
3) Replace the fictional name and address in the Copyright section below.
- As your work is likely built on the work of others, please retain
- the original line.
+ ** As your work is likely built on the work of others, please retain
+ the original line. **
4) Create a new section in vecs.c.
5) Add compilation instructions to Makefile.
6) Add sample files (it's better when they're created by the "real"
*/
#include "defs.h"
-#include <ctype.h>
#define MYNAME "format_skeleton"
*/
-#include <stddef.h>
-#include <stdio.h>
-#include <string.h>
-
#include "defs.h"
format_specific_data* fs_chain_copy(format_specific_data* source)
*/
#include "defs.h"
-#include <ctype.h>
#define MYNAME "fit"
-
static
arglist_t fit_args[] = {
ARG_TERMINATOR
#ifndef GARMIN_FS_H
#define GARMIN_FS_H
-#include <ctype.h>
#include "defs.h"
#include "jeeps/gps.h"
#include "jeeps/gpsmath.h"
#include "garmin_fs.h"
#include "garmin_gpi.h"
-#include <ctype.h>
-#include <stdio.h>
-#include <string.h>
-#include <time.h>
+#include <QtCore/QTextCodec>
#define MYNAME "garmin_gpi"
#include "src/core/logging.h"
#include "jeeps/gpsmath.h"
-#include <stdio.h>
-#include <string.h>
-
#define MYNAME "garmin_tables"
/* MapSource 4.13 */
#include "defs.h"
#if CSVFMTS_ENABLED
-#include <math.h>
-#include <time.h>
-#include <ctype.h>
-#include <errno.h>
-#include <stdarg.h>
-#include "cet_util.h"
#include "csv_util.h"
#include "garmin_fs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
#include "strptime.h"
+#include <cmath>
+
#define MYNAME "garmin_txt"
typedef struct gtxt_flags_s {
*/
#include "defs.h"
-#include <ctype.h>
#define MYNAME "Garmin_XT"
#define GARMIN_XT_ELE 31500/65536
#include "gbfile.h"
#include <assert.h>
-#include <ctype.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-
#if __WIN32__
/* taken from minigzip.c (part of the zlib project) */
#ifndef GBFILE_H
#define GBFILE_H
-#include <ctype.h>
-#include <stdarg.h>
-#include <string.h>
-#include <QtCore/QString>
#include "defs.h"
#include "cet.h"
+#include <QtCore/QString>
+
struct gbfile_s;
typedef struct gbfile_s gbfile;
typedef uint32_t gbsize_t;
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-/*
- History:
-
- 2005/06/27: initial release (reader only)
- 2005/07/26: added write support
- 2005/07/27: replaced "tricky code" in route reader
- 2005/07/28: fixed handling of single point routes
- new option "via"
- new option "ver"
- fixed compiler warnings
- 2005/07/29: fixed compiler warnings
- 2005/08/04: Read/write URL (reference data changed)
- 2005/08/11: Display sym and name in GDB
- 2005/08/12: Neuter proximity and depth for now
- 2005/08/29: big CET merge
- 2005/09/13: Make sure routes have unique wpt names
- 2005/10/10: MSVC fixes from Andrew
- 2005/10/17: RJL: Tighten up types of a short handle. It's now a "real" type and not a void *
- 2005/10/31: RJL: Add v3 format, min/max, provide defaults, data types, etc
- 2005/11/09: RJL: Clarify help text for dropping via points
- 2005/12/01: changed waypt's URL to descr for hidden waypoints (-> reference data changed)
- removed unused procedure gdb_add_to_hidden
- 2005/12/04: additional testo sequences
- 2006/02/24: last field of a route is rte url
- 2006/02/25: rte_read_loop: zero check replaced with a dummy read (8 unknown bytes)
- 2006/03/05: first implementation of Garmin special data (garmin_fs)
- 2006/04/04: Use track_add_wpt for all tracks
- 2006/04/19: add url i/o to tracks and routes
- 2006/04/19: check for empty waypoint shortnames (paranioa)
- 2006/11/01: Use version of GPSBabel and date/time of gdb.c (managed by CVS) for watermark
- 2007/01/23: add support for GDB version 3
- 2007/02/07: Add special code for unknown bytes in waypoints with class GE 8 (calculated points)
- 2007/02/15: Nearly full rewrite. Full support for GDB V3. New option roadbook.
- 2007/05/03: Add code for tricky V3 descriptions
- 2007/06/18: Tweak some forgotten "flagged" fields
- 2007/07/07: Better support for new fields since V3 (postal code/street address/instruction)
- 2008/01/09: Fix handling of option category (cat)
- 2008/04/27: Add zero to checklist of "unknown bytes"
- 2008/08/17: Add concept of route/track line colors
- 2008/09/11: Make format 'pipeable' (cached writes using gbfile memapi)
-*/
-
-#include <ctype.h>
-#include <math.h>
-#include <stdio.h>
-#include <string.h>
-#include <time.h>
-
#include "defs.h"
#include "cet.h"
-#include "cet_util.h"
#include "csv_util.h"
#include "garmin_fs.h"
#include "garmin_tables.h"
#include "grtcirc.h"
#include "jeeps/gpsmath.h"
+#include <cmath>
#define MYNAME "gdb"
*/
#include "defs.h"
-
-static char* deficon = NULL;
-static char* nuke_placer;
-
-
-static gbfile* ofd;
-
#include <QtCore/QXmlStreamReader>
#include <QtCore/QXmlStreamWriter>
#include <QtCore/QDebug>
#include "src/core/file.h"
+static char* deficon = NULL;
+static char* nuke_placer;
+static gbfile* ofd;
static QString ostring;
static QXmlStreamWriter writer(&ostring);
*/
-#include <ctype.h>
-#include <math.h>
-#include <string.h>
-#include <stdlib.h>
-
#include "defs.h"
#include "inifile.h"
#include "grtcirc.h"
+#include <cmath>
+
#define MYNAME "ggv_ovl"
static
*/
-#include <QtCore/QXmlStreamAttributes>
-#include <QtCore/QXmlStreamWriter>
-
#include "defs.h"
#include "xmlgeneric.h"
#include "src/core/file.h"
+#include <QtCore/QXmlStreamAttributes>
+#include <QtCore/QXmlStreamWriter>
+
static gbfile* ofd;
static QString ostring;
static QXmlStreamWriter writer(&ostring);
*/
-#include <ctype.h>
#include "defs.h"
#define MYNAME "gnav_trl"
*/
-#include <QtCore/QFile>
-#include <QtCore/QXmlStreamAttributes>
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QFile>
+#include <QtCore/QTextStream>
+#include <QtCore/QXmlStreamAttributes>
static char* encoded_points = NULL;
static char* encoded_levels = NULL;
* https://developers.google.com/maps/documentation/directions/
*/
-#include <QtCore/QXmlStreamAttributes>
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
static QString encoded_points;
static QString instructions;
*/
#include "defs.h"
-#include <ctype.h>
#include "csv_util.h"
-#include <time.h>
-#include <math.h>
#include "strptime.h"
#include "jeeps/gpsmath.h"
#include "grtcirc.h"
+#include <cmath>
#define MYNAME "gopal"
static gbfile* fin, *fout;
}
/* Error handling: in the tracklog of my device sometimes "jump" waypoints ;-) */
if ((optclean) &&
- (((wpt->longitude==0.0)|| (wpt->latitude==0.0)||(abs(wpt->latitude)>90)||(abs(wpt->longitude)>180))||
+ (((wpt->longitude==0.0)|| (wpt->latitude==0.0)||(std::abs(wpt->latitude)>90)||(std::abs(wpt->longitude)>180))||
((speed>maxspeed)||(speed<minspeed)))
) {
if (global_opts.debug_level > 1) {
*/
-#include <math.h>
#include "defs.h"
+#include <math.h>
#define MYNAME "gpssim"
*/
-#include <math.h>
#include "defs.h"
#include "magellan.h"
+#include <cmath>
static gbfile* file_in, *file_out;
static short_handle mkshort_handle;
#include "garmin_fs.h"
#include "garmin_tables.h"
#include "src/core/logging.h"
-#include <math.h>
-#include <QtCore/QXmlStreamReader>
-static QXmlStreamReader* reader;
#include "src/core/file.h"
#include "src/core/xmlstreamwriter.h"
#include "src/core/xmltag.h"
+#include <QtCore/QXmlStreamReader>
#include <QtCore/QRegExp>
#include <QtCore/QDateTime>
#include <QtCore/QDebug>
+#include <math.h>
+
+static QXmlStreamReader* reader;
static xml_tag* cur_tag;
static QString cdatastr;
static char* opt_logpoint = NULL;
*/
+#include "defs.h"
+#include "grtcirc.h"
+
#include <errno.h>
#include <math.h>
#include <stdio.h>
-#include "defs.h"
-#include "grtcirc.h"
-
static const double EARTH_RAD = 6378137.0;
static void crossproduct(double x1, double y1, double z1,
}
void
-gtc_trk_s(const xg_string , const QXmlStreamAttributes*)
+gtc_trk_s(xg_string, const QXmlStreamAttributes*)
{
trk_head = route_head_alloc();
track_add_head(trk_head);
-;
-; NOTE: setup.iss is generated from setup.iss.in via autoconf.
-; The generated setup.iss is checked in to help keep the version numbers
-; synchronized.
-;
-; Script for generating installation setup program for GPSBabel
-; Uses the Inno setup compiler. Typically used from the command
-; line "makesetup.bat" which copies QT system files which
-; the Innosetup compiler cannot handle.
-;
-; So it is not a good idea to run this file from the Inno Setup GUI.
-
-[Setup]
-; NOTE: The value of AppId uniquely identifies this application.
-; Do not use the same AppId value in installers for other applications.
-; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
-AppId={{1B8FE958-A304-4902-BF7A-4E2F0F5B7017}
-AppName=GPSBabel
-AppVerName=GPSBabel 1.5.1
-AppPublisher=GPSBabel
-AppPublisherURL=http://www.gpsbabel.org
-AppSupportURL=http://www.gpsbabel.org
-AppUpdatesURL=http://www.gpsbabel.org
-DefaultDirName={pf}\GPSBabel
-DefaultGroupName=GPSBabel
-OutputDir=release
-OutputBaseFilename=GPSBabel-1.5.1-Setup
-SetupIconFile=images\babel2.ico
-Compression=lzma
-SolidCompression=yes
-LicenseFile=COPYING.txt
-
-[Languages]
-Name: "english"; MessagesFile: "compiler:Default.isl"
-
-[Tasks]
-Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
-
-[Files]
-; This isn't as wreckless as it seems; these directories are populated on a
-; controlled way by the batch file.
-Source: qtdir\bin\*.dll; DestDir: "{app}"; Flags: ignoreversion
-Source: qtdir\plugins\*; DestDir: "{app}\plugins"; Flags: ignoreversion recursesubdirs createallsubdirs
-
-Source: gmapbase.html; DestDir: "{app}"; Flags: ignoreversion
-Source: qt.conf; DestDir: "{app}"; Flags: ignoreversion
-
-Source: \gpsbabel\gui\release\gpsbabelfe.exe; DestDir: "{app}"; Flags: ignoreversion
-;Source: release\libexpat.dll; DestDir: "{app}"; Flags: ignoreversion
-Source: \gpsbabel\gpsbabel\release\gpsbabel.exe; DestDir: "{app}"; Flags: ignoreversion
-; Source: release\help\*; DestDir: "{app}\help"; Flags: ignoreversion recursesubdirs createallsubdirs
-
-; Translation strings extracted from source code. Include it in the dist
-; so that users can translate if they want to.
-; Source: gpsbabel_*.ts; DestDir: "{app}\translations"; Flags: ignoreversion
-; Source: gpsbabelfe_*.ts; DestDir: "{app}\translations"; Flags: ignoreversion
-
-; Compiled translation strings that are used at runtime.
-; Source: gpsbabel_*.qm; DestDir: "{app}\translations"; Flags: ignoreversion
-Source: gpsbabelfe*.qm; DestDir: "{app}\translations"; Flags: ignoreversion
-
-; Now translations from Qt's own UI stuff.
-Source: qtdir\translations\*; DestDir: "{app}\translations"; Flags: ignoreversion recursesubdirs createallsubdirs
-
-; Miscellaneous
-Source: COPYING.txt; DestDir: {app}; Flags: ignoreversion
-; Source: AUTHORS; DestDir: {app}; Flags: ignoreversion
-; Source: README.contrib; DestDir: {app}; Flags: ignoreversion
-; Source: README.gui; DestDir: {app}; Flags: ignoreversion
-
-
-; NOTE: Don't use "Flags: ignoreversion" on any shared system files
-
-[Icons]
-Name: "{group}\GPSBabel"; Filename: "{app}\gpsbabelfe.exe"
-Name: "{commondesktop}\GPSBabel"; Filename: "{app}\gpsbabelfe.exe"; Tasks: desktopicon
-
-[Run]
-Filename: "{app}\gpsbabelfe.exe"; Description: "{cm:LaunchProgram,GPSBabelFE}"; Flags: nowait postinstall skipifsilent
-
-[Registry]
-Root: HKCU; Subkey: "Software\GPSBabel"; Flags: uninsdeletekeyifempty
-Root: HKCU; Subkey: "Software\GPSBabel\GPSBabel"; Flags: uninsdeletekey
-Root: HKCU; Subkey: "Software\GPSBabel\GPSBabelFE"; Flags: uninsdeletekey
-
+;\r
+; NOTE: setup.iss is generated from setup.iss.in via autoconf.\r
+; The generated setup.iss is checked in to help keep the version numbers\r
+; synchronized.\r
+;\r
+; Script for generating installation setup program for GPSBabel\r
+; Uses the Inno setup compiler. Typically used from the command\r
+; line "makesetup.bat" which copies QT system files which\r
+; the Innosetup compiler cannot handle. \r
+;\r
+; So it is not a good idea to run this file from the Inno Setup GUI.\r
+\r
+[Setup]\r
+; NOTE: The value of AppId uniquely identifies this application.\r
+; Do not use the same AppId value in installers for other applications.\r
+; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)\r
+AppId={{1B8FE958-A304-4902-BF7A-4E2F0F5B7017}\r
+AppName=GPSBabel\r
+AppVerName=GPSBabel 1.5.1\r
+AppPublisher=GPSBabel\r
+AppPublisherURL=http://www.gpsbabel.org\r
+AppSupportURL=http://www.gpsbabel.org\r
+AppUpdatesURL=http://www.gpsbabel.org\r
+DefaultDirName={pf}\GPSBabel\r
+DefaultGroupName=GPSBabel\r
+OutputDir=release\r
+OutputBaseFilename=GPSBabel-1.5.1-Setup\r
+SetupIconFile=images\babel2.ico\r
+Compression=lzma\r
+SolidCompression=yes\r
+LicenseFile=COPYING.txt\r
+\r
+[Languages]\r
+Name: "english"; MessagesFile: "compiler:Default.isl"\r
+\r
+[Tasks]\r
+Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked\r
+\r
+[Files]\r
+; This isn't as wreckless as it seems; these directories are populated on a\r
+; controlled way by the batch file.\r
+Source: qtdir\bin\*.dll; DestDir: "{app}"; Flags: ignoreversion\r
+Source: qtdir\plugins\*; DestDir: "{app}\plugins"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+\r
+Source: gmapbase.html; DestDir: "{app}"; Flags: ignoreversion\r
+Source: qt.conf; DestDir: "{app}"; Flags: ignoreversion\r
+\r
+Source: \gpsbabel\gui\release\gpsbabelfe.exe; DestDir: "{app}"; Flags: ignoreversion\r
+;Source: release\libexpat.dll; DestDir: "{app}"; Flags: ignoreversion\r
+Source: \gpsbabel\gpsbabel\release\gpsbabel.exe; DestDir: "{app}"; Flags: ignoreversion\r
+; Source: release\help\*; DestDir: "{app}\help"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+\r
+; Translation strings extracted from source code. Include it in the dist\r
+; so that users can translate if they want to. \r
+; Source: gpsbabel_*.ts; DestDir: "{app}\translations"; Flags: ignoreversion \r
+; Source: gpsbabelfe_*.ts; DestDir: "{app}\translations"; Flags: ignoreversion \r
+\r
+; Compiled translation strings that are used at runtime.\r
+; Source: gpsbabel_*.qm; DestDir: "{app}\translations"; Flags: ignoreversion \r
+Source: gpsbabelfe*.qm; DestDir: "{app}\translations"; Flags: ignoreversion \r
+\r
+; Now translations from Qt's own UI stuff.\r
+Source: qtdir\translations\*; DestDir: "{app}\translations"; Flags: ignoreversion recursesubdirs createallsubdirs\r
+\r
+; Miscellaneous\r
+Source: COPYING.txt; DestDir: {app}; Flags: ignoreversion\r
+; Source: AUTHORS; DestDir: {app}; Flags: ignoreversion\r
+; Source: README.contrib; DestDir: {app}; Flags: ignoreversion\r
+; Source: README.gui; DestDir: {app}; Flags: ignoreversion\r
+\r
+\r
+; NOTE: Don't use "Flags: ignoreversion" on any shared system files\r
+\r
+[Icons]\r
+Name: "{group}\GPSBabel"; Filename: "{app}\gpsbabelfe.exe"\r
+Name: "{commondesktop}\GPSBabel"; Filename: "{app}\gpsbabelfe.exe"; Tasks: desktopicon\r
+\r
+[Run]\r
+Filename: "{app}\gpsbabelfe.exe"; Description: "{cm:LaunchProgram,GPSBabelFE}"; Flags: nowait postinstall skipifsilent\r
+\r
+[Registry]\r
+Root: HKCU; Subkey: "Software\GPSBabel"; Flags: uninsdeletekeyifempty\r
+Root: HKCU; Subkey: "Software\GPSBabel\GPSBabel"; Flags: uninsdeletekey\r
+Root: HKCU; Subkey: "Software\GPSBabel\GPSBabelFE"; Flags: uninsdeletekey\r
+\r
*/
-#include <math.h>
#include "defs.h"
#include "filterdefs.h"
+#include <math.h>
#define MYNAME "height"
*/
/* This module is for the holux (gm-100) .wpo format */
-
-
-#include <ctype.h>
#include "defs.h"
#include "holux.h"
-
static gbfile* file_in, *file_out;
static unsigned char* HxWFile;
static short_handle mkshort_handle;
#include "defs.h"
#include "jeeps/gpsmath.h"
#include "src/core/xmltag.h"
-#include <ctype.h>
static gbfile* file_out;
static short_handle mkshort_handle;
*/
-#include <ctype.h>
-#include <math.h>
-#include <string.h>
-#include <QtCore/QMap>
-
#include "defs.h"
+#include <QtCore/QMap>
+#include <math.h>
#define MYNAME "humminbird"
* 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
+#include "defs.h"
#include <errno.h>
#include <math.h>
-#include "defs.h"
-
static gbfile* file_in, *file_out;
static char manufacturer[4];
static const route_head* head;
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <time.h>
-
-#include <QtCore/QXmlStreamAttributes>
-
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
#define MYNAME "IGNRando"
*/
-#include <ctype.h>
-#include <time.h>
#include "defs.h"
#include "cet.h"
#include "cet_util.h"
*/
-#include <QtCore/QXmlStreamAttributes>
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
static arglist_t ikt_args[] = {
ARG_TERMINATOR
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#include "defs.h"
#include "inifile.h"
*/
#include "defs.h"
+#include "gbser.h"
#include <ctype.h>
#include <math.h>
-#include "gbser.h"
#define MYNAME "itracku"
*/
-#include <QtCore/QXmlStreamAttributes>
#include "defs.h"
-#include "xmlgeneric.h"
-#include "jeeps/gpsmath.h"
#include "garmin_tables.h"
+#include "jeeps/gpsmath.h"
+#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
static route_head* trk;
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-
-#include <ctype.h>
-#include <math.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-
#include "defs.h"
#include "csv_util.h"
+#include <cmath>
#define MYNAME "jtr"
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <math.h>
-#include <QtCore/QRegExp>
-#include <QtCore/QXmlStreamAttributes>
#ifdef __WIN32__
# include <windows.h>
#include "defs.h"
#include "xmlgeneric.h"
#include "grtcirc.h"
-
#include "src/core/file.h"
#include "src/core/xmlstreamwriter.h"
#include "src/core/xmltag.h"
+#include <QtCore/QRegExp>
+#include <QtCore/QXmlStreamAttributes>
+#include <math.h>
// options
static char* opt_deficon = NULL;
* we don't implement that at this time in GPSBabel.
*/
-#include <QtCore/QXmlStreamAttributes>
-
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
static gbfile* ofd;
static Waypoint* wpt_tmp;
#include "defs.h"
-#include <string.h>
-#include <math.h> /* for lat/lon conversion */
+#include <QtCore/QDebug>
+#include <cmath> /* for lat/lon conversion */
typedef struct lowranceusr_icon_mapping {
const int value;
// Version 3 has a depth field here.
if (reading_version >= 3) {
float depth_feet = gbfgetflt(file_in);
- if (abs(depth_feet - 99999.0) > .1) {
+ if (std::abs(depth_feet - 99999.0) > .1) {
WAYPT_SET(wpt_tmp, depth, FEET_TO_METERS(depth_feet));
}
}
#include "defs.h"
-#include <string.h>
#include <math.h> /* for lat/lon conversion */
#include <time.h> /* for gmtime */
*/
-#include <ctype.h>
-#include <math.h>
-
-#include <QtCore/QXmlStreamAttributes>
-
#include "defs.h"
#include "csv_util.h"
#include "xmlgeneric.h"
#include "magellan.h"
+#include <QtCore/QXmlStreamAttributes>
+#include <cmath>
#define MYNAME "maggeo"
*/
-#include <ctype.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include <time.h>
#include "defs.h"
-#include "session.h"
+//#include "session.h"
#define MYNAME "mapasia"
*/
#include "defs.h"
-
+#include "src/core/file.h"
+#include "src/core/xmlstreamwriter.h"
#include <QtCore/QXmlStreamReader>
#include <QtCore/QXmlStreamWriter>
#include <QtCore/QDebug>
-#include "src/core/file.h"
-#include "src/core/xmlstreamwriter.h"
-
static gpsbabel::File* oqfile;
static QXmlStreamWriter* writer;
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <math.h>
-#include <stdio.h>
-#include <string.h>
-
#include "defs.h"
#include "mapsend.h"
#include "magellan.h"
+#include <cmath>
static gbfile* mapsend_file_in;
static gbfile* mapsend_file_out;
/* #define MPS_DEBUG 0 */
-#include <stdio.h>
-#include <string.h>
-
#include "defs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
-#include <ctype.h>
static gbfile* mps_file_in;
static gbfile* mps_file_out;
// into our doc, http://www.gpsbabel.org/htmldoc-development/GarminIcons.html
-#include <stdarg.h>
-#include <stdio.h>
#include "fatal.cc"
#include "util.cc"
#include "cet.cc"
// #define VERSION "1"
#include "globals.cc"
#include "jeeps/gpsmath.cc"
+//#include <stdarg.h>
+//#include <stdio.h>
*/
-/*
- History:
-
- 2008/10/18: Initial release
- 2008/10/19: Don't write empty names
- Add options 'locked' and 'visible'
- 2008/11/06: Fix enumeration of objects for empty routes or tracks
- Add option "ver" (internal version) to writer
- We support write of version:
- * 0x11 - reported as " "Memory Map OS Edition 2004, Version 4.2.3 Build 432"
- * 0x12 - most files in my test pool :-)
- 2008/11/19: Fix routes with a loop but different start and end point
- 2008/12/12: Fix object release error
- 2010/09/10: Added read support for version 0x18
- (test file created by Memory-Map European Edition, Version 5.4.2, Build 1089).
- 2011/10/05: Fixed read support: Track, CurrentPosition, UTF-16 strings
- (test file is version 0x18 as written by GPS units running 5.4.4 build 1114).
- Strings now written in UTF-16 if necessary.
-*/
-
-#include <ctype.h>
-#include <errno.h>
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-
#include "defs.h"
+#include <errno.h>
#define MYNAME "mmo"
*/
-#include <ctype.h>
-#include <time.h>
-#include <errno.h>
#include "defs.h"
#include "gbser.h"
+#include <errno.h>
static route_head* track;
*/
-#include <ctype.h>
-#include <errno.h>
-#include <math.h>
-#include <QtCore/QDir>
#include "defs.h"
#include "gbser.h"
#include "gbfile.h" /* used for csv output */
+#include <QtCore/QDir>
+#include <errno.h>
+#include <math.h>
#define MYNAME "mtk_logger"
*/
-#include <QtCore/QStringList>
-
#include "defs.h"
+#include <QtCore/QDebug>
+#include <QtCore/QStringList>
#define MYNAME "mynav"
static route_head* mynav_track;
static gbfile* fin;
-//*******************************************************************************
+//***************************************************************************
// local helper functions
-//*******************************************************************************
+//***************************************************************************
static void
-mynav_rd_line(char *buf)
+mynav_rd_line(QString line)
{
- Waypoint* wpt = NULL;
- QStringList fields;
- QString line;
- bool ok;
- int val_type;
- int val_gps_valid;
- double val_lat;
- double val_lon;
- double val_alt;
- int val_time;
-
- line = buf;
- fields = line.split("|");
+ QStringList fields = line.split("|");
if (global_opts.debug_level > 1) {
qDebug() << "line: " << line;
return;
// only type 1 and type 5 lines contain coordinates
- val_type = fields.at(fld_type).trimmed().toInt(&ok);
+ bool ok = false;
+ int val_type = fields.at(fld_type).trimmed().toInt(&ok);
if (!ok)
return;
if (val_type != 1 && val_type != 5)
// This field is not present in .trc files, only in .ftn, so
// ignore line if present and != 1
if (fields.size() >= fld_gps_valid) {
- val_gps_valid = fields.at(fld_gps_valid).trimmed().toInt(&ok);
+ int val_gps_valid = fields.at(fld_gps_valid).trimmed().toInt(&ok);
if (!ok || val_gps_valid != 1)
return;
}
- val_lon = fields.at(fld_lon).trimmed().toDouble(&ok) / 3600000.0;
+ double val_lon = fields.at(fld_lon).trimmed().toDouble(&ok) / 3600000.0;
if (!ok)
return;
- val_lat = fields.at(fld_lat).trimmed().toDouble(&ok) / 3600000.0;
+ double val_lat = fields.at(fld_lat).trimmed().toDouble(&ok) / 3600000.0;
if (!ok)
return;
- wpt = new Waypoint;
+ Waypoint* wpt = new Waypoint;
wpt->latitude = val_lat;
wpt->longitude = val_lon;
if (fields.size() >= fld_altitude) {
- val_alt = fields.at(fld_altitude).trimmed().toDouble(&ok);
+ double val_alt = fields.at(fld_altitude).trimmed().toDouble(&ok);
if (ok)
wpt->altitude = val_alt;
}
if (fields.size() >= fld_timestamp) {
- val_time = fields.at(fld_timestamp).trimmed().toInt(&ok);
+ int val_time = fields.at(fld_timestamp).trimmed().toInt(&ok);
if (ok)
wpt->SetCreationTime(val_time);
}
}
-//*******************************************************************************
+//***************************************************************************
// global callbacks called by gpsbabel main process
-//*******************************************************************************
+//***************************************************************************
static void
mynav_rd_init(const char* fname)
static void
mynav_rd(void)
{
- char * buff;
-
- while ((buff = gbfgetstr(fin))) {
- buff = lrtrim(buff);
- if ((*buff == '\0') || (*buff == '#')) {
+ QString buff;
+
+ while ((buff = gbfgetstr(fin)), !buff.isNull()) {
+ buff = buff.trimmed();
+ if ((buff.isEmpty()) || (buff[0] == '#')) {
continue;
}
mynav_rd_line(buff);
#include "defs.h"
#include "csv_util.h"
#include "jeeps/gpsmath.h"
-#include <ctype.h>
-#include <math.h>
#include <QtCore/QDebug>
+#include <QtCore/QTextCodec>
+#include <math.h>
#define MYNAME "Naviguide"
-
-
-
-
/************* Specific Naviguide data formats ****************/
/* Naviguide file header */
return TRUE;
}
-static time_t
+static QDateTime
decode_datetime(const unsigned char* buffer)
{
- struct tm tm;
-
- tm.tm_sec = buffer[5];
- tm.tm_min = buffer[4];
- tm.tm_hour = buffer[3];
- tm.tm_mday = buffer[2];
- tm.tm_mon = buffer[1] - 1;
- tm.tm_year = buffer[0] + 100;
-
- return mkgmtime(&tm);
+ QTime tm(buffer[3], buffer[4], buffer[5]);
+ QDate dt(2000 + buffer[0], buffer[1], buffer[2]);
+ return QDateTime(dt, tm, Qt::UTC);
}
static void
*/
-#include <ctype.h>
#include "defs.h"
#include "gbfile.h"
#include "jeeps/gpsmath.h"
*/
-#include <ctype.h>
-#include <errno.h>
-#include <math.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <time.h>
-
#include "defs.h"
#include "jeeps/gpsmath.h"
#include "strptime.h"
+#include <math.h>
/*
* parse_distance:
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <ctype.h>
-#include <math.h>
#include "defs.h"
#include "garmin_tables.h"
#include "csv_util.h"
+#include <math.h>
static gbfile* file_in, *file_out;
static short_handle mkshort_handle;
*/
-#include <QtCore/QXmlStreamAttributes>
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
static int isFirst = 1;
static route_head* route = NULL;
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <math.h>
#include "defs.h"
#include "filterdefs.h"
#include "grtcirc.h"
+#include <math.h>
#if FILTERS_ENABLED
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <stdio.h>
-#include <string.h>
-
#include "defs.h"
#include "garmin_tables.h"
#include <ctype.h>
*/
#include "queue.h"
-#include "stddef.h"
+#include <stddef.h>
void
enqueue(queue* new_el, queue* old)
*/
-#include <stddef.h>
-#include <stdio.h>
-#include <string.h>
#define MYNAME "saroute"
#include "defs.h"
#include "grtcirc.h"
+#include <stddef.h>
gbfile* infile;
#include "defs.h"
#include "navilink.h"
-#include <ctype.h>
#define MYNAME "sbn"
#include "defs.h"
#include "navilink.h"
-#include <ctype.h>
#define MYNAME "sbp"
*/
-#include <ctype.h>
-#include <math.h>
-#include <time.h>
#include "defs.h"
+#include <math.h>
#define MYNAME "skyforce"
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <ctype.h>
-#include <math.h>
-
#include "defs.h"
#include "gbser.h"
+#include <math.h>
#define MYNAME "skytraq"
#if CSVFMTS_ENABLED
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
#include "csv_util.h"
#include "strptime.h"
#include "jeeps/gpsmath.h"
*/
#include "defs.h"
-#include <time.h>
#define MYNAME "subrip"
#include "defs.h"
#include "filterdefs.h"
-#include <ctype.h>
#define MYNAME "swapdata"
*/
-#include <math.h>
-
#include "defs.h"
#include "csv_util.h"
+#include <math.h>
static gbfile* file_in, *file_out;
static short_handle mkshort_handle;
#include "defs.h"
#include "csv_util.h"
-#include <ctype.h>
#define MYNAME "TMPro"
*/
#include "defs.h"
-#include <string.h>
-#include <ctype.h>
#include "jeeps/gpsmath.h" /* for datum conversions */
#define MYNAME "TPG"
3.x "recreation"
*/
-#include <ctype.h>
-#include <math.h>
-#include <string.h>
#include "defs.h"
#include "jeeps/gpsmath.h" /* for datum conversions */
+#include <cmath>
#define MYNAME "TPO"
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-/*
- 2005-07-20: implemented interval option from Etienne Tasse
- 2005-07-26: implemented range option
- 2005-07-26: implemented move option
- 2005-07-26: implemented merge option
- 2005-07-29: warning fixes
- 2005-08-01: Add 'static' qualifier when we can (robertl)
- 2005-10-04: Add filterdefs to hold protos for filter functions... (robertl)
- 2005-10-04: Fix range-check max. value; exit filter, if no more tracks left
- 2006-04-06: Add fix, course, and speed options (parkrrrr)
- 2006-06-01: Add name option
- 2007-01-08: if not really needed disable check for valid timestamps
- (based on patch from Vladimir Kondratiev)
- 2007-07-26: Allow 'range' together with trackpoints without timestamp
- 2010-06-02: Add specified timestamp to each trackpoint (added by sven_luzar)
- 2012-05-04: Added 'discard' option to 'merge' to throw out track points without timestamp
-*/
-
-#include <ctype.h>
-#include <math.h>
-#include <QtCore/QRegExp>
-#include <QtCore/QXmlStreamAttributes>
#include "defs.h"
#include "filterdefs.h"
-#include "strptime.h"
#include "grtcirc.h"
+#include "strptime.h"
#include "xmlgeneric.h"
+#include <QtCore/QRegExp>
+#include <QtCore/QXmlStreamAttributes>
+#include <cmath>
#if FILTERS_ENABLED || MINIMAL_FILTERS
#define MYNAME "trackfilter"
// reasonable tradeoff.
return
- fabs(wpta->latitude - wptb->latitude) < .00001 &&
- fabs(wpta->longitude - wptb->longitude) < .00001 &&
- abs(wpta->altitude - wptb->altitude) < 20 &&
+ std::abs(wpta->latitude - wptb->latitude) < .00001 &&
+ std::abs(wpta->longitude - wptb->longitude) < .00001 &&
+ std::abs(wpta->altitude - wptb->altitude) < 20 &&
(WAYPT_HAS(wpta,course) == WAYPT_HAS(wptb,course)) &&
(wpta->course == wptb->course) &&
(wpta->speed == wptb->speed) &&
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA
*/
-#include <math.h>
-#include <string.h>
-#include <time.h>
-
#include "defs.h"
#include "cet.h"
-#include "cet_util.h"
#include "csv_util.h"
#include "garmin_fs.h"
#include "garmin_tables.h"
#include "jeeps/gpsmath.h"
+#include <QtCore/QVector>
+#include <cmath>
#define MYNAME "unicsv"
}
}
-
/* copied from dg-100.c - slight (incompatible) modification to how the date parameter is used */
-static time_t
-bintime2utc(int date, int time)
-{
- struct tm gpstime;
-
- gpstime.tm_sec = time % 100;
+QDateTime
+bintime2utc(int date, int time) {
+ int secs = time % 100;
time /= 100;
- gpstime.tm_min = time % 100;
+ int mins = time % 100;
time /= 100;
- gpstime.tm_hour = time;
+ // What's left in 'time' is hours, ranged 0-23.
+ QTime tm(time, mins, secs);
- /*
- * GPS year: 2000+; struct tm year: 1900+
- * GPS month: 1-12, struct tm month: 0-11
- */
- gpstime.tm_mday = date % 100;
- date /= 100;
- gpstime.tm_mon = date % 100 - 1;
+ // 'date' starts at 2000 and is YYMMDD
+ int day = date % 100;
date /= 100;
- gpstime.tm_year = date + 100;
-
- return(mkgmtime(&gpstime));
+ int month = date % 100;
+ date /= 100;
+ // What's left in 'date' is year.
+ QDate dt(date + 2000, month, day);
+
+ return QDateTime(dt, tm, Qt::UTC);
}
static void
*/
-#include <stdio.h>
#include "defs.h"
#include "csv_util.h"
#include "inifile.h"
#include "gbversion.h"
+#include <stdio.h>
#define MYNAME "vecs.c"
*/
#include "defs.h"
-#include <ctype.h>
#include <math.h>
#define MYNAME "vidaone"
*/
+#include "defs.h"
+#include "grtcirc.h"
+#include <cmath>
#include <errno.h>
-#include <math.h>
-#include <stddef.h>
-#include <stdio.h>
-#include <string.h>
#define MYNAME "vitosmt"
-#include "defs.h"
-#include "grtcirc.h"
static gbfile* infile =NULL;
static gbfile* ofs =NULL;
*/
-#include <stddef.h>
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
-#include <math.h>
+#include "defs.h"
+#include <cmath>
#define MYNAME "vitovtt"
-#include "defs.h"
#define TM_YEAR_ZERO 1900
#define TM_MONTH_ZERO 1
*/
#include "defs.h"
-#include <ctype.h>
#define MYNAME "vpl"
-
void vpl_parse_75_sentence(const char*);
static
*/
-#include <stdio.h>
-#include <math.h>
-#include <QtCore/QDebug>
-#include <QtCore/QList>
-
#include "defs.h"
#include "cet_util.h"
#include "grtcirc.h"
#include "garmin_fs.h"
#include "session.h"
#include "src/core/logging.h"
+#include <QtCore/QDebug>
+#include <QtCore/QList>
+#include <stdio.h>
+#include <math.h>
#if NEWQ
QList<Waypoint*> waypt_list;
#include "defs.h"
#include "gbser.h"
#include "grtcirc.h"
-#include <errno.h>
#define MYNAME "WBT-100/200"
#define NL "\x0D\x0A"
*/
-#include <QtCore/QXmlStreamAttributes>
-
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
/* argument storage */
static char* aicicon =0;
*/
+#include "defs.h"
+#include "xmlgeneric.h"
+#include "cet_util.h"
+#include "src/core/file.h"
+
#include <QtCore/QByteArray>
#include <QtCore/QDebug>
#include <QtCore/QTextCodec>
#include <QtCore/QXmlStreamAttributes>
#include <QtCore/QXmlStreamReader>
-#include "defs.h"
-#include "xmlgeneric.h"
-#include "cet_util.h"
-#include "src/core/file.h"
-
#define DEBUG_TAG 0
#if DEBUG_TAG
#include <QtCore/QDebug>
cb_end,
} xg_cb_type;
+class QXmlStreamAttributes;
typedef void (xg_callback)(xg_string, const QXmlStreamAttributes*);
typedef struct xg_tag_mapping {
*/
+#include "defs.h"
+#include "src/core/xmltag.h"
#include <stddef.h>
#include <stdio.h>
#include <string.h>
-#include "defs.h"
-#include "src/core/xmltag.h"
-
static void
free_xml_tag(xml_tag* tag)
{
*/
-#include <QtCore/QXmlStreamAttributes>
-
#include "defs.h"
#include "xmlgeneric.h"
#include "jeeps/gpsmath.h"
#include "garmin_tables.h"
+#include <QtCore/QXmlStreamAttributes>
static Waypoint* wpt;
static route_head* trk;
*/
-#include <QtCore/QXmlStreamAttributes>
-
#include "defs.h"
#include "xmlgeneric.h"
+#include <QtCore/QXmlStreamAttributes>
static Waypoint* wpt_tmp;
static char* as;